a = 1
while a<=20:
    if a%4==1:
        print(a)
    a = a+1